package com.okami.java8.stream;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2020-09-15 15:54
 **/
import java.util.stream.*;
public class Bubbles {
    public static void main(String[] args) {
        Stream.generate(Bubble::bubbler)
                .limit(5)
                .forEach(System.out::println);
    }
}
